Skip to content

Fix #8022: Refactor MoveStatics #11126

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 19, 2021
Merged

Fix #8022: Refactor MoveStatics #11126

merged 3 commits into from
Jan 19, 2021

Conversation

liufengyun
Copy link
Contributor

@liufengyun liufengyun commented Jan 14, 2021

Fix #8022: Refactor MoveStatics
Fix #11100: add test

We still keep two phases, but the code is simplified.

We cannot merge MoveStatics with CheckStatic because the early phases
are not able to handle static calls, thus it has to be at the end of
the pipeline.  Meanwhile, we want checks to happen as early as
possible, thus CheckStatic has to be in the beginning of the pipeline.
The logic is handled by the phase `SelectStatic`
@liufengyun liufengyun marked this pull request as ready for review January 15, 2021 11:31
@odersky odersky merged commit d98b760 into scala:master Jan 19, 2021
@odersky odersky deleted the fix-8022 branch January 19, 2021 09:10
@Kordyjan Kordyjan added this to the 3.0.0 milestone Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Runtime crash of @static methods Refactor MoveStatic
3 participants